package com.system.mqConsumer;

import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;

import com.system.constants.QueueConstant;

import lombok.extern.slf4j.Slf4j;

/**
 * 各个系统请求错误邮件通知
 * @author kaifa002
 *
 */
@Slf4j
@Component
public class ProcQueueTopicConsumer {

	/**
	 * 监听消息，接受（request_errorMail_topic）队列的消息 destination:目的地
	 * 
	 * @param text
	 * @throws Exception
	 */
	// @KafkaListener(topics = QueueConstant.REQUEST_ERRORMAIL_TOPIC, groupId = QueueConstant.LG_DEFAULT_GROUP)
	public void receiveProcQueueTopic(String errorTopicStr) throws Exception {
		
		log.info(errorTopicStr);
	}

}
